#include "StdAfx.h"
#include "path_component.h"
#include "tools.h"

path_component::path_component(void)
{
	p_condition = NULL;
}


path_component::~path_component(void)
{
}

void path_component::clear()
{
	phrase = 0.0f;
}

void path_component::update_phrase(float end_dist)
{
	phrase += end_dist/cycle;
	phrase = float_mod(phrase, 1.0f);
}